package com.biboheart.assemble.bhweb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {
    @RequestMapping(value = {"/", "/home"})
    public String home(Model model) {
        model.addAttribute("name", "碧波之心");
        return "home";
    }
}
